package com.xbongbong.workflow.model;

import com.xbongbong.workflow.domain.entity.WorkflowCommentEntity;
import com.xbongbong.workflow.domain.entity.ext.WorkflowCommentEntityExt;

import java.util.List;
import java.util.Map;


/**
 */
public interface WorkflowCommentModel {
   Long insert(WorkflowCommentEntity entity);

   void insertBatch(List<WorkflowCommentEntity> list);

   List<WorkflowCommentEntityExt> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(WorkflowCommentEntity entity);

   WorkflowCommentEntity getByKey(Long key, String corpid);
}
